/* CodeBuilder代码生成器 生成时间：2011-12-03 20:03:11 */
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;

namespace Model
{
    /// <summary>
	/// TB_AdminLog:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    public class AdminLog
    {
        public AdminLog()
		{}
        #region Model
        private Int32? _id;
        private Int32? _operationtypes;
        private string _odescription;
        private string _username;
        private string _ip;
        private DateTime? _addtime;
        /// <summary>
		/// 主键
		/// </summary>
        [SqlField("ID",SqlDbType.Int,4)]
		public Int32? ID
		{
			set{ _id = value; }
			get{ return _id; }
		}
        /// <summary>
		/// 操作类型 0:登录 1:添加 2:修改 3:删除
		/// </summary>
        [SqlField("OperationTypes",SqlDbType.Int,4)]
		public Int32? OperationTypes
		{
			set{ _operationtypes = value; }
			get{ return _operationtypes; }
		}
        /// <summary>
		/// 操作描述
		/// </summary>
        [SqlField("ODescription",SqlDbType.NVarChar,500)]
		public string ODescription
		{
			set{ _odescription = value; }
			get{ return _odescription; }
		}
        /// <summary>
		/// 管理员账号
		/// </summary>
        [SqlField("UserName",SqlDbType.NVarChar,200)]
		public string UserName
		{
			set{ _username = value; }
			get{ return _username; }
		}
        /// <summary>
		/// IP地址
		/// </summary>
        [SqlField("IP",SqlDbType.NVarChar,50)]
		public string IP
		{
			set{ _ip = value; }
			get{ return _ip; }
		}
        /// <summary>
		/// 添加时间
		/// </summary>
        [SqlField("AddTime",SqlDbType.DateTime,8)]
		public DateTime? AddTime
		{
			set{ _addtime = value; }
			get{ return _addtime; }
		}
        #endregion Model
    }
}